<template>
  <div id="tabbar">
    <slot></slot>
    <!-- 接收任意数量的tabbaritem -->
  </div>
</template>

<script>
export default {
    name: 'tabbar'
};
</script>

<style scoped lang="less">
#tabbar {
  display: flex;
  position: fixed;
  background-color: #f6f6f6;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  box-shadow: 0 -2px 10px 0 rgba(223, 223, 223, 0.82);
}
</style>
